package com.hsylient.javase.draftpaper;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class NullIsString {


    public static void main(String[] args) {
        String message = null;
        if (message instanceof String) {
            log.info("[Null的类型测试] Null是String类型");
        } else {
            log.info("不是");
        }
    }
}
